import request from "../utils/request";

export const baseURL = 'http://localhost:6363'

export function getModelsDir() {
    return request({
        url: new URL('/modelsdir', baseURL).href
    })
}

export function getFile(url) {
    return request({
        url: new URL(url, baseURL).href
    })
}